package com.gupaoedu.vip.proxy.cglib;


import com.gupaoedu.vip.proxy.jdk.Person;

/**
 * Created by zhaozhonghai on 2017/5/22.
 */
//测试代理模式
public class TestProxy {
    public static void main(String[] args){
        LianJia lj=new LianJia();
        XiaoMing proxy=  (XiaoMing)lj.getInstance(XiaoMing.class);
        proxy.zuFangZi();

    }
}
